import request from '@/utils/request'

export function addUserRole(data) {
  return request({
    url: '/auth/userRole/insertUserRole',
    method: 'post',
    data
  })
}

export function deleteUserRole(data) {
  return request({
    url: '/auth/userRole/delete/' + data.userId + '/and/' + data.roleId,
    method: 'delete',
    data
  })
}
